package cn.iocoder.yudao.module.member.controller.app.point.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "用户 App - 用户积分记录 Response VO")
@Data
public class AppMemberPointRecordRespVO {

    @Schema(description = "自增主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "31457")
    private Long id;

    @Schema(description = "积分标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    private String title;

    @Schema(description = "积分描述", example = "你猜")
    private String description;

    @Schema(description = "积分", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    private BigDecimal point;

    @Schema(description = "发生时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;


    /**
     * 变动前积分
     */
    @Schema(description = "变动前设备", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer totalDeviceFront;
    /**
     * 变动类型
     */
    @Schema(description = "变动类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean flag;
    @Schema(description = "售后时长", requiredMode = Schema.RequiredMode.REQUIRED)
    private  Integer timeOut;
    @Schema(description = "版本名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String versionTypeName;
    @Schema(description = "UDID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String udid;


}
